namespace RBAC.Read.Api.Application.Dto
{
    using System;

    /// <summary>
    /// 生产工单列表查询筛选参数。
    /// </summary>
    public class WorkOrderListFilterDto
    {
        /// <summary>工单号（支持模糊）。</summary>
        public string? OrderCode { get; set; }
        /// <summary>工单类型。</summary>
        public string? OrderType { get; set; }
        /// <summary>工单日期起。</summary>
        public DateTime? OrderDateStart { get; set; }
        /// <summary>工单日期止。</summary>
        public DateTime? OrderDateEnd { get; set; }
        /// <summary>工单状态。</summary>
        public string? OrderStatus { get; set; }
        /// <summary>产品名称（模糊）。</summary>
        public string? ProductName { get; set; }
        /// <summary>页码，默认 1。</summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>每页条数，默认 20。</summary>
        public int PageSize { get; set; } = 20;
    }
}
